home *** CD-ROM | disk | FTP | other *** search
- function goConfirm()
- {
- this.blnExit = true;
- gotoAndStop("confirm");
- }
- function goBrowser()
- {
- gotoAndStop("browser");
- }
- function goBrowserConfirm()
- {
- gotoAndStop("browser_confirm");
- }
- function externalDialog(strFile)
- {
- gotoAndStop("external");
- mc_file.loadMovie(strFile + ".swf");
- }
- function lingo(str)
- {
- getURL("lingo:" + str,"");
- }
- function dialogsHide()
- {
- lingo("spriteDialog.hide()");
- }
- function webPageGo()
- {
- lingo("Flsh_webPageGo");
- }
- function goCredits()
- {
- trace("Flash is trying to send Director to SpriteShell.showCredits()");
- lingo("spriteShell.showCredits()");
- }
- function exitCancel()
- {
- connTardisSend.onStatus = function(infoObject)
- {
- dialogsHide();
- delete this.onStatus;
- };
- connTardisSend.send("Tardis","exit_cancel");
- }
- function goForms()
- {
- connTardisSend.send("Tardis","UsageData_markExit");
- connTardisSend.send("Tardis","ConnCheck_stopTimer");
- xmlIssue = new XML();
- xmlIssue.onLoad = function(success)
- {
- gotoAndStop("forms");
- ndForm = this.firstChild.byPath("exit/form");
- var _loc1_ = ndForm.attributes.swf;
- mc_survey.loadMovie(_loc1_);
- delete xmlIssue;
- };
- xmlIssue.load("../../assets/xml/issue.xml");
- }
- function browserComplete()
- {
- if(this.blnExit == true)
- {
- goForms();
- }
- else
- {
- dialogsHide();
- }
- }
- stop();
- optin = null;
- connTardisSend = new LocalConnection();
- lingo("spriteDialog.ready()");
-